#ifndef BOSS_Afterburner_Globals_Functions_File_H
#define BOSS_Afterburner_Globals_Functions_File_H

#include "TString.h"

namespace BOSS_Afterburner
{
  /// @addtogroup Afterburner_functions
  /// @{
  /// Input and output file name generators.
  /// @author  Remco de Boer 雷穆克 (r.e.deboer@students.uu.nl or remco.de.boer@ihep.ac.cn)
  /// @date    November 20th, 2018
  namespace File
  {
    const char* GetOutputFilename(const char* filenameWithoutExt, const char* ext = nullptr);
    const char* SetOutputFilename(const char* filenameWithoutExt, const char* ext = nullptr);
    TString     BaseName(const TString& path);
    TString     DirName(const TString& path);
    TString     GetAbsolutePath(const TString& path);
  } // namespace File
  /// @}
} // namespace BOSS_Afterburner

#endif